<!-- **************************************************************-->
<!-- *                                                            *-->
<!-- *    .=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.      *-->
<!-- *    |                     ______                     |      *-->
<!-- *    |                  .-"      "-.                  |      *-->
<!-- *    |                 /            \                 |      *-->
<!-- *    |     _          |              |          _     |      *-->
<!-- *    |    ( \         |,  .-.  .-.  ,|         / )    |      *-->
<!-- *    |     > "=._     | )(__/  \__)( |     _.=" <     |      *-->
<!-- *    |    (_/"=._"=._ |/     /\     \| _.="_.="\_)    |      *-->
<!-- *    |           "=._"(_     ^^     _)"_.="           |      *-->
<!-- *    |               "=\__|IIIIII|__/="               |      *-->
<!-- *    |              _.="| \IIIIII/ |"=._              |      *-->
<!-- *    |    _     _.="_.="\          /"=._"=._     _    |      *-->
<!-- *    |   ( \_.="_.="                    "=._"=._/ )   |      *-->
<!-- *    |    > _.="                            "=._ <    |      *-->
<!-- *    |   (_/                                    \_)   |      *-->
<!-- *    |                                                |      *-->
<!-- *    '-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-='      *-->
<!-- *                                                            *-->
<!-- *           LASCIATE OGNI SPERANZA, VOI CH'ENTRATE           *-->
<!-- **************************************************************-->
<!-- 小正科技版权所有  作者小正QQ:1419158026  Full stack programmer!-->
<!-- 最后装订时间:                      维护人员:小正               -->
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <!-- 引入JS框架 -->
    <script src="/static/js/jquery-3.4.1.js"></script>
    <!-- 引入样式 -->
    <link rel="stylesheet" href="/static/layui/css/layui.css">
    <!-- 引入组件库 -->
    <script src="/static/layui/layui.all.js"></script>
    <!-- 引入核心JS-->
    <script src="/static/js/main.js" type="module"></script>
    <title>$Title$</title>
    <script>
        function opendoc(id) {
            window.location.href = '/document/' + id;
        }
    </script>
    <style>
        .layui-card {
            border-radius: 25px;
            border: 2px solid #009688;
        }

        .layui-card:hover {
            border: 2px solid #5FB878;
        }
    </style>
</head>
<body>

<div th:each="doc : ${Docs}" style="padding: 5px">
    <div class="layui-card" th:onclick="'opendoc(' + ${doc.getId()} +')'">
        <div class="layui-card-header" th:text="${doc.getTeb()}"></div>
        <div class="layui-card-body" th:text="${doc.getTxt()}"></div>
    </div>
    <div th:text="'点赞: '+ ${doc.getDz()}" style="display: inline-block;size: 18px;padding-left: 5%;">点赞:0</div>
    <div th:text="'浏览: '+ ${doc.getLl()}" style="display: inline-block;size: 18px;padding-left: 10%;">浏览:0</div>
</div>
</body>
</html>